package session

type ISessionStorage interface {

	// 设置session
	Set(prefix, key string, val interface{}) error

	// 获取session
	Get(prefix, key string) (interface{}, error)

	// 获取session并解析到val
	GetScan(prefix, key string, val interface{}) error
}
